package com.hzmg.handler.http;

import akka.http.javadsl.model.HttpRequest;
import akka.http.javadsl.model.Uri;

import java.net.URI;

public class GetRequestHandler implements RequestDeal{

    @Override
    public HttpRequest viaRequestMethod(HttpRequest request) {
        String uri = request.getUri().toString();
        return HttpRequest.create(uri);
    }


}
